package band.wukong.practice.springboot.spring4.basic.el;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.io.IOException;

/**
 * @author wukong(wukonggg@139.com)
 */
public class SpringELSample {

    public static void main(String[] args) throws IOException {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(ELConfigBean.class);
        ELConfigBean resource = context.getBean(ELConfigBean.class);
        resource.print();
        context.close();
    }
}
